 using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Drawing;
using Common;
using MetaData;
using System.Threading;
using System.Diagnostics;

namespace DotNetTest
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }
        AgentType agent;
        private void BtnStart_Click(object sender, RoutedEventArgs e)
        {
          
             var fuxi = new FuxiType();
            agent = new AgentType(fuxi);
            fuxi.Agent = agent;
            agent.Start();
        }

        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
           lblResult.Content = HandEvaluator.GetWinOdds(txtPocket.Text, txtBoard.Text).ToString();
        }
    }
}
